<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Global</title>
    
    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">
    
    <h1 class="page-title">Global</h1>
    
    



<section>
    
<header>
    <h2>
    
    </h2>
    
</header>  

<article>
    <div class="container-overview">
    
    
    
        
        
        
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

        
        
    
    </div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        <h3 class="subsection-title">Methods</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="bindBtnPostUrl"><span class="type-signature"></span>bindBtnPostUrl<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        按钮点击提交POST请求: .btn-post-url
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>.btn-post-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">为按钮添加处理标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">POST提交URL地址</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-confirm</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">提交操作confirm确认提示字符信息，如果为false则不做提示直接提交</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-post-success</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">直接在属性中编写处理成功回调执行的字符串内容，以eval方式将字符串转换执行</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-post-reload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">快捷方式指定处理回调刷新：page=浏览器地址刷新；container=当前元素所在最近AJAX容器刷新；其他值则表示JQuery元素定位表达式调用对应AJAX刷新</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line312">line 312</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code><pre>
            &lt;button class="btn blue btn-post-url" type="button"
                data-url="${base}/myt/purchase/purchase-order!bpmSave?id=&lt;s:property value='%{id}' />&taskId=&lt;s:property value='%{#parameters.taskId}' />"
                data-confirm="确认提交请求？">
               模拟按钮POST请求
            &lt;/button></pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindBtnSendSmsCode"><span class="type-signature"></span>bindBtnSendSmsCode<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        短信发送验证码元素: .btn-send-sms-code
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-mobile-el</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">输入手机号元素的name属性值，确保其在同一个.form-group元素下</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line23">line 23</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;button type="button" class="btn btn-send-sms-code" data-mobile-el="mobile">获取验证码&lt;/button></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindCaptchaCode"><span class="type-signature"></span>bindCaptchaCode<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        绑定构造图片验证码输入框和验证码图片: .captcha-img , .captcha-text
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>.captcha-text</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">为验证码输入框添加标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>.captcha-img</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">为验证码图片添加标识</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line269">line 269</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code><pre>
            &lt;div class="input-group">
                &lt;div class="input-icon">
                    &lt;i class="fa fa-qrcode">&lt;/i> &lt;input class="form-control captcha-text" type="text" autocomplete="off"
                        placeholder="验证码...看不清可点击图片可刷新" name="captcha" required="true" />
                &lt;/div>
                &lt;span class="input-group-btn" style="cursor: pointer;"> &lt;img alt="验证码" class="captcha-img"
                    src="${ctx}/assets/img/captcha_placeholder.jpg" title="看不清？点击刷新" />
                &lt;/span>
            &lt;/div></pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindExtBootstrapTab"><span class="type-signature"></span>bindExtBootstrapTab<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        绑定构造扩展支持AJAX特性的TAB组件: .tabbable > .nav > [data-toggle="tab"]默认tabbable是一个没有边框的tab样式，tabbable-custom会额外加边框并活动红色标记样式
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>href</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">三种参数模式：#abc 基本的bootstrap tab定位模式; #auto 自动基于内容区域div顺序匹配定位; url链接形式则表示点击AJAX异步加载</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-tab-disabled</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">主要用在添加数据时控制只有第一个标签项可用其余禁用，在第一个标签项保存后自动刷新整个Tab其余标签项可用。</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-active</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指定活动标签项的顺序编号，默认可设定固定值：$&#123;param._tab_active} 由服务器端基于表单处理动态控制</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line170">line 170</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code><pre>
            &lt;div class="tabbable tabbable-custom">
                &lt;ul class="nav nav-tabs" data-active="${param._tab_active}">
                    &lt;li class="tools pull-right">&lt;a href="javascript:;" class="btn default reload">&lt;i class="fa fa-refresh">&lt;/i>&lt;/a>&lt;/li>
                    &lt;li>&lt;a data-toggle="tab" href="${ctx}/admin/auth/role/edit?id=${id}">基本信息&lt;/a>&lt;/li>
                    &lt;li>&lt;a data-toggle="tab" href="${ctx}/admin/auth/role/privileges?id=${id}" data-tab-disabled="${entity.isNew()}">权限关联&lt;/a>&lt;/li>
                &lt;/ul>
            &lt;/div></pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindModalAjaxify"><span class="type-signature"></span>bindModalAjaxify<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        链接点击弹出模态对话框: a[data-toggle="modal-ajaxify"],a[target="modal-ajaxify"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'modal-ajaxify'=组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>target或data-modal-size</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'modal-ajaxify'=组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-modal-size</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">弹窗的宽度，默认是modal-wide宽屏显示</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>title</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">作为弹窗的标题</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line241">line 241</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code>  &lt;a href="${ctx}/admin/password/forget" data-toggle="modal-ajaxify" title="找回密码" data-modal-size="550px">找回密码&lt;/a></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindTableInfiniteScroll"><span class="type-signature"></span>bindTableInfiniteScroll<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        绑定构造无限滚动加载表格: table.table-infinite-scroll
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="global.js.html">w/app/global.js</a>, <a href="global.js.html#line66">line 66</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initAjaxBeforeShow"><span class="type-signature"></span>initAjaxBeforeShow<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        在页面显示之前的初始化动作
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line732">line 732</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initControlLabelTooltips"><span class="type-signature"></span>initControlLabelTooltips<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        表单输入元素的tooltips提示组件: .control-label[data-tooltips]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-tooltips</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'提示信息文本'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-tooltipster-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'top|bottom|left|right' 控制显示位置，默认top</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line700">line 700</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;label class="control-label" data-tooltips="[输入提示说明内容]">金额&lt;/label></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDataProfileParam"><span class="type-signature"></span>initDataProfileParam<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        个人收藏支持功能的表单输入组件：input[data-profile-param],radio[data-profile-param],select[data-profile-param]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-profile-param</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">个性配置参数唯一标识名称</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line15">line 15</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-profile-param="default_order_type"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDatePicker"><span class="type-signature"></span>initDatePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        年月日日期选取组件: input[data-picker="date"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-format</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">自定义格式字符串，默认为 yyyy-mm-dd，@see https://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-today-btn</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否显示“今日”按钮，可选属性默认为true</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line524">line 524</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="saleDate" class="form-control" data-picker="date" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDateRangePicker"><span class="type-signature"></span>initDateRangePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        时间段 选取组件: input[data-picker="date-range"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date-range：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-date-scope</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">显示可选范围定义：afterNow=当前时间之后；beforeNow=当前时间之前， 可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line618">line 618</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="searchFromTo" class="form-control" data-picker="date-range" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDateTimePicker"><span class="type-signature"></span>initDateTimePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        年月日-时分 选取组件: input[data-picker="date-time"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date-time：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-format</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">自定义格式字符串，默认为 yyyy-mm-dd hh:ii，@see https://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line578">line 578</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="operationTime" class="form-control" data-picker="date-time" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDropdownSelect"><span class="type-signature"></span>initDropdownSelect<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        以Dropdown形式弹出AJAX加载DIV区域：input[data-toggle="dropdown-select"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">dropdown-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">弹出DIV AJAX内容的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-selected</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">在data-url基础上额外追加选中项参数值：&selected=123，传给后端服务器显示页面处理</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-min-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">设置最小宽度，避免数据显示拥挤错位，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line33">line 33</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="dropdown-select" data-url="${ctx}/docs/ui-feature/dropdownselect"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDynamicTable"><span class="type-signature"></span>initDynamicTable<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        动态表格组件: table[data-dynamic-table]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-dynamic-table</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'编辑器高度' 默认500</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line17">line 17</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initGmapsBaidu"><span class="type-signature"></span>initGmapsBaidu<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        添加百度地图定位功能: .gmaps .gmaps-baidu地图点击后，会触发元素绑定的clickMapPoint事件，回传百度地图GeocoderResult结构对象
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-location='基于给定的地址字符串定位'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-point-longitude='根据经纬度坐标定位'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-point-latitude="根据经纬度坐标定位"</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line656">line 656</a>
    </li></ul></dd>
    
    
    
    
    
    <dt class="tag-see">See:</dt>
    <dd class="tag-see">
        <ul>
            <li><a href="http://developer.baidu.com/map/reference/index.php?title=Class:%E6%9C%8D%E5%8A%A1%E7%B1%BB/GeocoderResult">http://developer.baidu.com/map/reference/index.php?title=Class:%E6%9C%8D%E5%8A%A1%E7%B1%BB/GeocoderResult</a></li>
        </ul>
    </dd>
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Examples</h5>
        
    <pre class="prettyprint"><code> <pre>&lt;div class="gmaps gmaps-baidu" data-location="${entity.address}" /></pre></code></pre>

    <pre class="prettyprint"><code> <pre>&lt;div class="gmaps gmaps-baidu" data-point-longitude="${entity.longitude}" data-point-latitude="${entity.latitude}" /></pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initGrid"><span class="type-signature"></span>initGrid<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        初始化指定grid元素，默认取元素的gridOptions数据值，options为可选覆盖参数表格属性参数：
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">发起AJAX数据请求的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>colModel</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">列属性参数对象，详见随后参数说明</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>postData</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">固定追加的查询参数JSON结构数据对象</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>editurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline编辑模式POST提交请求的处理url地址，没有此参数则工具条屏蔽相关编辑操作按钮</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>editrulesurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline编辑模式自动表单校验规则请求url，一般固定为：WEB_ROOT + '/admin/util/validate?clazz=$&#123;clazz}'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>delurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline删除操作请求url，没有此参数则工具条屏蔽相关删除操作按钮</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>multiselect</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否显示多选复选框列，默认true</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>label</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">列标题label</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>name</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">从JSON响应数据取值的属性名称</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>index</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">点击排序或查询回传服务器的属性名称，可选，默认值等于name值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">列宽度，如果是自动百分比模式会取所有宽度按照百分比换算</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>editable</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">列单元格是否支持inline编辑，editurl有值才有意义</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>align</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">单元格数据对齐模式：left|right|center，基本原则是等长或简短内容center居中；金额类型一般right对齐；其余不等长文本一般left对齐</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>formatter</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">单元格类型，用于合理的控制显示格式和排序等特性，指定不同formatter格式一般会同步自动设定相关的width，align等属性，因此一般建议合理设置。<br>可选值说明：    <pre>     currency=货币类型数据，逗号千分位分隔符，默认两位小数 ，自动设定width=80和align=right     percentage=百分比类型数据，value为小数乘以100转换为%格式，自动设定width=50和align=right     integer=整数类型，自动设定width=60和align=center     number=数字类型，整数或浮点数 ，自动设定width=60和align=right     date=ISO年月日格式，自动设定width=120和align=center     timestamp=ISO年月日时分秒格式，自动设定width=150和align=center     showlink=以AJAX对话框模式请求URL，需自行合理设置width属性，子参数示意：         formatoptions.baseLinkUrl : WEB_ROOT + '/admin/user/view',         formatoptions.title : WEB_ROOT + '/admin/user/view',                       checkbox=复选框，一般用于boolean类型 ，自动设定width=60和align=center，子参数示意：               searchoptions.valueJsonString : '&#123;"true":"正常","false":"中止"}'     select=下拉选项框，一般用于枚举类型属性，子参数示意：          searchoptions.value : function()&#123;              //返回key-value结构对象数组         }                   searchoptions.valueJsonString : '&lt;tags:json value="$&#123;educationLevel}"/>'       </pre></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>formatter</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline编辑模式元素类型，默认会按照formatter自动设定合理类型，其余一般为text=单行文本， textarea=多行文本</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line1277">line 1277</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initImagePreivew"><span class="type-signature"></span>initImagePreivew<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        为img元素提供预览大图效果: img[data-toggle='preview']
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'preview'</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line839">line 839</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;img alt="个人照片" src="${photoUrl}" data-toggle="preview" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initMultiSelectDouble"><span class="type-signature"></span>initMultiSelectDouble<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于multiSelect封装的左右互选组件: select[data-toggle="double-multi-select"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">double-multi-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">组件高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line133">line 133</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedIds" items="${multiSelectItems}" class="form-control" data-toggle="double-multi-select" data-height="300px" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initRecursiveSubGrid"><span class="type-signature"></span>initRecursiveSubGrid<span class="signature">(subgrid_id, row_id, parent, clearPostData)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        树形父子结构数据递归初始化子表格，在主表格的参数对象基础上添加父子关联参数作为子表格初始化参数对象，一般在subGrid=true时，在subGridRowExpanded事件方法中调用
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>subgrid_id</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">直接传入subGridRowExpanded事件方法中对应参数</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>row_id</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">直接传入subGridRowExpanded事件方法中对应参数</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>parent</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">将当期父行项的id作为参数传入parent指定的参数作为查询子集合的查询条件名称，例如parent.id，在当前主Grid的url参数基础上添加search['EQ_" + parent + "']=(行项id值)作为子表格查询url</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>clearPostData</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否初始化清空参数对象中的postData参数，避免父对象的参数干扰</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line3009">line 3009</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code>  Grid.initRecursiveSubGrid(subgrid_id, row_id, "parent.id");</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2"><span class="type-signature"></span>initSelect2<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件扩展标准的下拉框组件: 其他非特殊的select以外元素
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">未定义=默认处理；combobox=输入选取组合</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-allow-clear</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">默认为可清除，设置为false取消可清除支持，可选</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Map结构数据的URL地址用于组装下拉选项列表，可选</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-cascade-name</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">级联下拉框目标更新select组件的name属性值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-cascade-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">级联下拉数据请求URL地址</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line207">line 207</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Examples</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedId" items="${multiSelectItems}" class="form-control" /></code></pre>

    <pre class="prettyprint"><code><pre>
           &lt;select name="clazz" class="form-control" required="true" placeholder="记录数据对象" data-cascade-name="property"
                data-cascade-url="${ctx}/admin/aud/revision-entity/properties">
                &lt;c:forEach items="${clazzMapping}" var="item">
                    &lt;option value="${item.key}">${item.value}&lt;/option>
                &lt;/c:forEach>
            &lt;/select></pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2Remote"><span class="type-signature"></span>initSelect2Remote<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件扩展输入框提供基于输入内容remote查询列表选取: input[data-select2-type="remote"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">remote：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-display</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">显示字面值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Map结构数据的URL地址用于组装下拉选项列表</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-query</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">带入查询URL的查询参数名称，最终形成AJAX请求URL：?{data-query}=输入值</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line383">line 383</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedIds" items="${multiSelectItems}" class="form-control" data-toggle="double-multi-select" data-height="300px" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2Tags"><span class="type-signature"></span>initSelect2Tags<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件自由输入多个Tag: input[data-select2-type="tags"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tags：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">已选取集合，逗号分隔字符串形式</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-tags</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">备选选取集合，逗号分隔字符串形式</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Set结构数据的备选选取集合，最终形成AJAX请求URL：?q=输入值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-number-limit</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指定最多允许选取tag个数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line434">line 434</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Examples</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="splitText" class="form-control" data-select2-type="tags" value="A,D" data-tags="A,B,C,D" /></code></pre>

    <pre class="prettyprint"><code> &lt;form:input path="splitText" class="form-control" data-select2-type="tags" value="A,D" data-url="https://api.myjson.com/bins/444cr" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSubGrid"><span class="type-signature"></span>initSubGrid<span class="signature">(subgrid_id, row_id, options)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        初始化普通子表格，一般在subGrid=true时，在subGridRowExpanded事件方法中调用
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>subgrid_id</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">直接传入subGridRowExpanded事件方法中对应参数</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>row_id</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">直接传入subGridRowExpanded事件方法中对应参数</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>options</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">传入用于子表格初始化的jqGrid结构参数对象</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line3075">line 3075</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> <pre>
            subGrid : true,
            subGridRowExpanded : function(subgrid_id, row_id) {
                Grid.initSubGrid(subgrid_id, row_id, {
                    url : WEB_ROOT + "/admin/sys/notify-message/read-list?search['EQ_notifyMessage.id']=" + row_id,
                    colNames : [ '阅读用户', '首次阅读时间', '最后阅读时间', '总计阅读次数' ],
                    colModel : [ {
                        name : 'readUserLabel',
                        width : 150
                    }, {
                        name : 'firstReadTime',
                        formatter : 'timestamp'
                    }, {
                        name : 'lastReadTime',
                        formatter : 'timestamp'
                    }, {
                        name : 'readTotalCount',
                        align : 'center'
                    } ]
                });
            }</pre></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initTextareaHtmleditor"><span class="type-signature"></span>initTextareaHtmleditor<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        将textarea转换为HTML可视化编辑器: textarea[data-htmleditor]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-htmleditor</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">编辑器类型：'kindeditor'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'编辑器高度' 默认500</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line756">line 756</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:textarea path="product.description" class="form-control" data-htmleditor='kindeditor' data-height="400" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initTextareaMaxlength"><span class="type-signature"></span>initTextareaMaxlength<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        文本框可输入字符数显示和校验: textarea[maxlength]为包含maxlength属性的textarea添加基于jquery maxlength的最大输入提示效果
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>maxlength</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'最大可输入字符数'</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line734">line 734</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:textarea path="textContent" class="form-control" maxlength="100" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initTreeSelect"><span class="type-signature"></span>initTreeSelect<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于zTree数据结构构造树形选取组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tree-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">返回zTree结构JSON数据的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">基于jQuery UI position的位置参数，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line111">line 111</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="tree-select" data-url="${ctx}/department/tree-datas.json"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadBigFile"><span class="type-signature"></span>initUploadBigFile<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于zTree数据结构构造树形选取组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tree-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">返回zTree结构JSON数据的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">基于jQuery UI position的位置参数，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line125">line 125</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="tree-select" data-url="${ctx}/department/tree-datas.json"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadImage"><span class="type-signature"></span>initUploadImage<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单图片上传组件: input[data-upload="image"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-upload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">image：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示宽度</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line788">line 788</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:hidden path="filePath" class="form-control" data-upload="image" data-image-width="80" data-image-height="80" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadMultiImage"><span class="type-signature"></span>initUploadMultiImage<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        多图片上传组件: input[data-multiimage]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-multiimage</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">类型标识：btn=最后一个添加图片按钮; edit=显示编辑图片</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示宽度</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line288">line 288</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="hidden" name="imagePaths[${status.index}]" data-multiimage="edit" data-pk="${status.index}" value="${item}" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadSingleFile"><span class="type-signature"></span>initUploadSingleFile<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单文件上传组件: input[data-upload="single-file"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-upload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">single-file：组件标识</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line544">line 544</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="product.videoPath" class="form-control" data-upload="single-file" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadSingleImage"><span class="type-signature"></span>initUploadSingleImage<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单图片上传组件: input[data-upload="single-image"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-upload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">single-image：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示宽度</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line165">line 165</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:hidden path="filePath" class="form-control" data-upload="single-image" data-image-width="80" data-image-height="80" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initXEditable"><span class="type-signature"></span>initXEditable<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        为a链接元素添加xEditable功能: a.x-editable
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-url='编辑提交的URL'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-name='保存属性名称'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-type="编辑元素类型"</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-pk='提交的主键pk属性值'，default：当前元素所在form的id元素值</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-original-title='弹出框的显示标题'，default：数据修改</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-placement='xEditable组件对应支持的可选值'，指定弹窗位置，default：top</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-required='true|false'，default：false</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line586">line 586</a>
    </li></ul></dd>
    
    
    
    
    
    <dt class="tag-see">See:</dt>
    <dd class="tag-see">
        <ul>
            <li><a href="http://vitalets.github.io/x-editable/docs.html">http://vitalets.github.io/x-editable/docs.html</a></li>
        </ul>
    </dd>
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;<a class="editable editable-click x-editable" href="javascript:;" data-name="disabled"
                                            data-url="${ctx}/admin/user/edit" data-pk="${id}" data-type="select"
                                            data-source="{true:'停用',false:'启用'}">${disabled}</a></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getAtLeastOneSelectedItem"><span class="type-signature"></span>jqgrid-getAtLeastOneSelectedItem<span class="signature">(includeSubGird)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid至少选择一项,如果没有选择则Alert提示
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>includeSubGird</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否包含子表格数据项，默认false</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line496">line 496</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    选取行项的ID数组
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getAtLeastOneSelectedItem()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getEditingRowdata"><span class="type-signature"></span>jqgrid-getEditingRowdata<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取正在编辑行项的各表单元素值
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line767">line 767</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    各编辑元素内容组装的JSON结构数据
</div>



        
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getOnlyOneSelectedItem"><span class="type-signature"></span>jqgrid-getOnlyOneSelectedItem<span class="signature">(requireAlert)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid唯一选择行项,如果没有选择或多选则Alert提示
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>requireAlert</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">必选警告标识，如果为true则会给出提示信息，为false则直接不提示直接返回false标识</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line545">line 545</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选取行项的ID值
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getOnlyOneSelectedItem()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getSelectedRowdata"><span class="type-signature"></span>jqgrid-getSelectedRowdata<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid已选择selrow单行项rowdata数据
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line612">line 612</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选行项rowdata
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getSelectedRowdata()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getSelectedRowdatas"><span class="type-signature"></span>jqgrid-getSelectedRowdatas<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid已选择selarrrow多行项数组rowdata数据
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line584">line 584</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选行项rowdata数组
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getSelectedRowdatas()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-isEditingMode"><span class="type-signature"></span>jqgrid-isEditingMode<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        检测表格当前是否处于编辑模式
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line785">line 785</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    布尔值
</div>



        
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-refresh"><span class="type-signature"></span>jqgrid-refresh<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        刷新Grid组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line364">line 364</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.refresh()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-setEditingRowdata"><span class="type-signature"></span>jqgrid-setEditingRowdata<span class="signature">(rowdata, forceOverwrite)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        快速修改设置正在编辑行项的各表单元素值
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>rowdata</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">json结构数据，不用完整的行项数据可以是部分name和value值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>forceOverwrite</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否强制覆盖已有值,true=直接覆盖，false=如果已有值则跳过赋值</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line730">line 730</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-sumColumn"><span class="type-signature"></span>jqgrid-sumColumn<span class="signature">(col, decimalPlaces)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        列求和帮助方法，添加小数位保留处理，默认两位
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>col</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">求和列属性名称</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>decimalPlaces</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">保留小数位数</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line809">line 809</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    求和结果数字
</div>



        
    
    
</dd>

        </dl>
    
    
    
    
    
</article>

</section>  




</div>

<nav>
    <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="AdminPage.html">AdminPage</a></li><li><a href="Global_.html">Global</a></li><li><a href="Grid.html">Grid</a></li><li><a href="SitePage.html">SitePage</a></li></ul><h3>Global</h3><ul><li><a href="global.html#bindBtnPostUrl">bindBtnPostUrl</a></li><li><a href="global.html#bindBtnSendSmsCode">bindBtnSendSmsCode</a></li><li><a href="global.html#bindCaptchaCode">bindCaptchaCode</a></li><li><a href="global.html#bindExtBootstrapTab">bindExtBootstrapTab</a></li><li><a href="global.html#bindModalAjaxify">bindModalAjaxify</a></li><li><a href="global.html#bindTableInfiniteScroll">bindTableInfiniteScroll</a></li><li><a href="global.html#initAjaxBeforeShow">initAjaxBeforeShow</a></li><li><a href="global.html#initControlLabelTooltips">initControlLabelTooltips</a></li><li><a href="global.html#initDataProfileParam">initDataProfileParam</a></li><li><a href="global.html#initDatePicker">initDatePicker</a></li><li><a href="global.html#initDateRangePicker">initDateRangePicker</a></li><li><a href="global.html#initDateTimePicker">initDateTimePicker</a></li><li><a href="global.html#initDropdownSelect">initDropdownSelect</a></li><li><a href="global.html#initDynamicTable">initDynamicTable</a></li><li><a href="global.html#initGmapsBaidu">initGmapsBaidu</a></li><li><a href="global.html#initGrid">initGrid</a></li><li><a href="global.html#initImagePreivew">initImagePreivew</a></li><li><a href="global.html#initMultiSelectDouble">initMultiSelectDouble</a></li><li><a href="global.html#initRecursiveSubGrid">initRecursiveSubGrid</a></li><li><a href="global.html#initSelect2">initSelect2</a></li><li><a href="global.html#initSelect2Remote">initSelect2Remote</a></li><li><a href="global.html#initSelect2Tags">initSelect2Tags</a></li><li><a href="global.html#initSubGrid">initSubGrid</a></li><li><a href="global.html#initTextareaHtmleditor">initTextareaHtmleditor</a></li><li><a href="global.html#initTextareaMaxlength">initTextareaMaxlength</a></li><li><a href="global.html#initTreeSelect">initTreeSelect</a></li><li><a href="global.html#initUploadBigFile">initUploadBigFile</a></li><li><a href="global.html#initUploadImage">initUploadImage</a></li><li><a href="global.html#initUploadMultiImage">initUploadMultiImage</a></li><li><a href="global.html#initUploadSingleFile">initUploadSingleFile</a></li><li><a href="global.html#initUploadSingleImage">initUploadSingleImage</a></li><li><a href="global.html#initXEditable">initXEditable</a></li><li><a href="global.html#jqgrid-getAtLeastOneSelectedItem">jqgrid-getAtLeastOneSelectedItem</a></li><li><a href="global.html#jqgrid-getEditingRowdata">jqgrid-getEditingRowdata</a></li><li><a href="global.html#jqgrid-getOnlyOneSelectedItem">jqgrid-getOnlyOneSelectedItem</a></li><li><a href="global.html#jqgrid-getSelectedRowdata">jqgrid-getSelectedRowdata</a></li><li><a href="global.html#jqgrid-getSelectedRowdatas">jqgrid-getSelectedRowdatas</a></li><li><a href="global.html#jqgrid-isEditingMode">jqgrid-isEditingMode</a></li><li><a href="global.html#jqgrid-refresh">jqgrid-refresh</a></li><li><a href="global.html#jqgrid-setEditingRowdata">jqgrid-setEditingRowdata</a></li><li><a href="global.html#jqgrid-sumColumn">jqgrid-sumColumn</a></li></ul>
</nav>

<br clear="both">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.3-dev</a> on Wed Aug 19 2015 10:00:28 GMT+0800 (CST)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>